package com.ltkj.baseplatform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 收藏管理对象 ser_collect_data
 * 
 * @author ruoyi
 * @date 2023-10-16
 */
@ApiModel(value = "收藏管理")
public class SerCollectData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 业务主键 */
    @Excel(name = "业务主键")
    @ApiModelProperty("业务主键")
    private Long bizId;

    /** 业务编码 */
    @Excel(name = "业务编码")
    @ApiModelProperty("业务编码")
    private String typeCode;

    /** 用户编号 */
    @Excel(name = "用户编号")
    @ApiModelProperty("用户编号")
    private Long userId;

    @ApiModelProperty("路由地址")
    private String viewPath;

    @ApiModelProperty("内容标题")
    private String title;

    @ApiModelProperty("封面图片")
    private String imgPath;


    @ApiModelProperty("浏览量")
    private Long viewNum;

    @ApiModelProperty("发布地址")
    private String addr;

    @ApiModelProperty("发布地址经度")
    private String longitude;

    /** 发布地址纬度 */
    @ApiModelProperty("发布地址纬度")
    private String latitude;


    @ApiModelProperty("是否删除")
    private String isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBizId(Long bizId) 
    {
        this.bizId = bizId;
    }

    public Long getBizId() 
    {
        return bizId;
    }
    public void setTypeCode(String typeCode) 
    {
        this.typeCode = typeCode;
    }

    public String getTypeCode() 
    {
        return typeCode;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public String getViewPath() {
        return viewPath;
    }

    public void setViewPath(String viewPath) {
        this.viewPath = viewPath;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public Long getViewNum() {
        return viewNum;
    }

    public void setViewNum(Long viewNum) {
        this.viewNum = viewNum;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bizId", getBizId())
            .append("typeCode", getTypeCode())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
